//
//  UIImage+NWGif.h
//  noworry
//
//  Created by dl on 2017/10/21.
//  Copyright © 2017年 dl. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIImage (NWGif)
@property (nonatomic, assign, readonly) NSUInteger nw_gifImageCount;
@property (nonatomic, assign, readonly) NSArray *nw_gifDurations;

+ (UIImage *)nw_animatedGIFWithData:(NSData *)data;

+ (UIImage *)nw_animatedGIFNamed:(NSString *)name;

- (BOOL)nw_isGIF;

@end
